diff -Naur keepassx-0.3.3.orig/src/lib/random.cpp keepassx-0.3.3/src/lib/random.cpp
--- keepassx-0.3.3.orig/src/lib/random.cpp	2008-05-10 12:00:47.000000000 +0300
+++ keepassx-0.3.3/src/lib/random.cpp	2008-10-04 20:08:39.000000000 +0300
@@ -19,6 +19,7 @@
  ***************************************************************************/

 #include "random.h"
+#include <cstdlib>


 #if defined(Q_WS_X11) || defined(Q_WS_MAC)
